<?php

namespace app\webapi\vms\validate;

use app\webapi\common\BaseValidate;

/**
 * @辅助验证类
 */
class AuxiliaryValidate extends BaseValidate
{
    //验证规则
    protected $rule = [
        'file' => 'file'
    ];

    //验证消息
    protected $message = [
        'file.file' => 'file不是文件类型'
    ];

    //验证场景
    protected $scene = [
        'getDistributionMediaList' => [''],
        'uploadImages' => ['file']
    ];

}